package com.atguigu.gmall.common.config.thread;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lfy
 * @Description
 * @create 2023-07-21 16:43
 */
@Data
@ConfigurationProperties(prefix = "app.thread-pool")
public class ThreadPoolProperties {

    private Integer core = 4;
    private Integer max = 8;
    private Long keepAliveTime = 5L;
    private Integer queueSize = 1000;


}
